//
//  BlogCell.h
//  QSBK
//
//  Created by Eric Wang on 4/20/15.
//  Copyright (c) 2015 Eric Wang. All rights reserved.
//
#import "Common.h"
#import <UIKit/UIKit.h>
#import "BlogFrame.h"

@class BlogCell;
@protocol BlogCell <NSObject>

@optional
-(void)ClickUpWithCell:(BlogCell *)cell;
-(void)ClickDownWithCell:(BlogCell *)cell;
-(void)ClickCommentWithCell:(BlogCell *)cell;
-(void)ClickMoreWithCell:(BlogCell *)cell;

@end


#import "HomeVedioPlayerController.h"


@interface BlogCell : UITableViewCell<HomeVedioPlayerController>
@property(nonatomic,weak)id<BlogCell>delegate;
@property(nonatomic,strong)UIButton *selectedButton;
//bgview
@property(nonatomic,strong)UIView *bgView;
//touxiang
@property(nonatomic,strong)UIImageView *headImage;
//name
@property(nonatomic,strong)UILabel *nameLabel;
//contentImage
@property(nonatomic,strong)UIImageView *contentImage;
//contentLabel
@property(nonatomic,strong)UILabel *contentLabel;
//vedio
@property(nonatomic,strong)UIImageView *video;
//upLabel
@property(nonatomic,strong)UILabel *upLabel;
//commentLabel
@property(nonatomic,strong)UILabel *commentLabel;
//up
@property(nonatomic,strong)UIButton *upButton;
//down
@property(nonatomic,strong)UIButton *downButton;
//commentButton
@property(nonatomic,strong)UIButton *commentButton;
//more
@property(nonatomic,strong)UIButton *moreButton;
//
@property(nonatomic,strong)UIImageView *picImageView;

//playButton
@property(nonatomic,strong)UIButton *playButton;
@property(nonatomic,strong)BlogFrame *blogFrame;
-(void)setBlogFrame:(BlogFrame *)blogFrame;
@end
